package org.example.lottery_system.service.dto;

import lombok.Data;
import org.example.lottery_system.controller.param.PageParam;

import java.util.List;

@Data
public class PageListDTO<T> {
    /**
     *
     */
    private Integer total;

    /**
     * 当前页列表
     */
    private List<T> records;
    public PageListDTO(Integer total,List<T> records){
        this.total = total;
        this.records = records;
    }
}
